﻿using Sc.Domain;
using Sc.Persistence;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Service
{
    public class DriverScoreService
    {
        /// <summary>
        /// 违章数据持久层
        /// </summary>
        private readonly DriverScoreDAO dao = new DriverScoreDAO();
        /// <summary>
        /// 增加一条数据
        /// </summary>
        public int Add(DriverScore model)
        {
            return dao.Add(model);
        }
    }
}
